﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PluggableModulesInterface;
using StorageManagement;
using System.Threading;
using SMSROUTER.Business;

namespace StaticThreadManagement
{
    public class MTXmlReaderTheadManage : WorkingBase
    {
        protected override int INFINITE_NEXT_TIME
        {
            get
            {
                return 1000;
            }
        }        

        protected override void LoopWorking()
        {
            try
            {
                SmsRouterReport.ReadFromXmlFile();
            }
            catch (Exception ex)
            {
                HandleException(ex, "MTXmlReaderManage");
            }
        }
    }
}
